<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
//if (sizeof($list) > 0) {
			switch (sizeof($list)) {
				case "1": $ended = ""; break;
				case "2": $ended = "а"; break;
				case "3": $ended = "а"; break;
				case "4": $ended = "а"; break;
				case "5": $ended = "ов"; break;
				case "6": $ended = "ов"; break;
				case "7": $ended = "ов"; break;
				case "8": $ended = "ов"; break;
				case "9": $ended = "ов"; break;
				default: $ended = "ов"; break;
			}
		echo "<div class='compare_block ".(sizeof($list) > 0?"":"hidden")."'>";
			echo "<div class='compare_wrapper'>";
				echo "<p>В сравнении: <a href='/basket/compare/'>".sizeof($list)." товар".$ended."</a></p>";
			echo "</div>";
		echo "</div>";
//}
